<?php 
// require_once 'upload.php';
require_once 'upload2.php';
// 
// require_once 'upload3.php';

$files = upload2();

print_r($files);

//将上传成功的数据存入数据库.....